package com.koomii.rabbitmq.demo.conf;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lizongyue
 */
@Configuration
public class RabbitmqConfig {

	@Bean
    public Queue testQueue() {
    		return new Queue("queue_test",true,false,false);
    }
}
